package com.xiaoming.entity;

import com.xiaoming.zk.PropertyName;
import com.xiaoming.zk.Znode;
import lombok.Data;

import java.io.Serializable;


@Znode("/database")
@Data
public class DatabaseConfig implements Serializable {
    @PropertyName("jdbc-url")
    private String jdbcUrl;
    @PropertyName("driver.class.name")
    private String driverClassName;
    @PropertyName("username")
    private String username;
    @PropertyName("password")
    private String password;
}
